<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <title>注册</title>
    <meta charset="UTF-8">
    <link rel="stylesheet" type="text/css" href="css/register.css" />
    <link href="css/styles.css" rel="stylesheet">
    <style>
        body{
            background:url(image/背景图.jpg) no-repeat center top;
            background-size:cover;
            background-attachment:fixed;}
        p{
            color: white;
        }
        nav{
            background: #0B0B0B;
        }
    </style>
</head>
<jsp:useBean id="userBean" class="bean.Users" scope="request"/>
<body>
<header style="background: #0B0B0B">
    <nav id="main-nav" class="navbar navbar-default navbar-fixed-top" role="banner">
        <div class="container">
            <div class="navbar-header">
                <a class="navbar-brand" ><img src="image/图标.png" alt="logo"></a>
            </div>

            <div class="collapse navbar-collapse navbar-right">
            </div>
        </div>
    </nav></header>
<div class="register-box">
    <h2>用户注册</h2>
    <form action="RegisterServlet" method="post">
        <div class="register-field">
            <input type="text" name="loginName" required="" />
            <label>用户ID</label>
        </div>
<%--        <div class="register-field">--%>
<%--            <input type="text" name="userName" required="" />--%>
<%--            <label>用户昵称</label>--%>
<%--        </div>--%>
        <div class="register-field">
            <input type="text" name="phoneNumber" required="" />
            <label >电话号码</label>
        </div>
        <div class="register-field">
            <input type="password" name="password" required="" />
            <label >设置密码</label>
        </div>
        <div class="register-field">
            <input type="password" name="again_password" required="" />
            <label >确认密码</label>
        </div>
        <input type="submit" value="点击注册"/>
        <p>注册反馈：<jsp:getProperty name="userBean" property="backNews"/></p>

    </form>
<%--    <jsp:useBean id="backNews" class="bean.Login"/>--%>
<%--    <jsp:useBean id = "loginName" class = "bean.Login" />--%>
<%--    <jsp:useBean id = "phoneNumber " class = "bean.Login" />--%>
</div>
</body>
</html>